Part Number Hot Search : 
1N5404G 16X5R N5266 1N5159 2904D 1N5404G CPH6341 5011B
Product Description
Full Text Search
 

To Download M37510M5156FP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  description the 7510 group is the 8-bit microcomputer based on the 740 fam- ily core technology. this microcomputer is equipped with added functions such as a dot matrix type lcd controller/driver built in a contrast controller and uart. features l basic machine-language instructions ...................................... 71 l the minimum instruction execution time ........................... 0.5 m s (at 8.0 mhz oscillation frequency) l ram for lcd display .................................................... 160 bytes l programmable input/output ports ............................................ 41 l interrupts ................................................. 15 sources, 15 vectors (includes key-on wake up) l timers ........................................................... 8-bit 5 3, 16-bit 5 2 l serial i/o ...................... 8-bit 5 2 (uart or clock-synchronized) l lcd controller/driver bias ........................................ 1/4, 1/5 bias duty ratio ...................... 1/8, 1/11, 1/16 duty common output ...................................... 16 segment output ...................................... 80 built-in an lcd contrast controller (capable of 32-step contrast adjustment) l 2 clock generating circuit (connect to external ceramic resonator or quartz-crystal.) l power source voltage in high-speed mode .................................................. 4.0 to 5.5 v in middle-speed mode ............................................... 2.5 to 5.5 v in low-speed mode .................................................... 2.5 to 5.5 v l power dissipation in high-speed mode .......................................................... 32 mw (at 8.0 mhz oscillation frequency) in low-speed mode ............................................................ 60 m w (at 32 khz oscillation frequency and 3.0 v power source voltage) in wait mode ........................................................................ 9 m w (at 32 khz oscillation frequency and 3.0 v power source voltage) l operating temperature range .................................. C20 to +85 c application cellular radio telephones, business telephones, facsimiles, and other portable equipment that need a large capacity of lcd dis- play. 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers
2 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers pin configuration (top view) package type : 176p6d-a 176-pin plastic-molded qfp nc : no connect 42 133 nc 134 nc m37510m6-xxxfp seg 65 seg 64 135 136 seg 63 seg 62 137 138 seg 61 seg 60 139 140 seg 59 seg 58 141 142 seg 57 seg 56 143 144 seg 55 seg 54 145 146 seg 53 seg 52 147 148 seg 51 seg 50 149 150 seg 49 seg 48 151 152 seg 47 seg 46 153 154 seg 45 seg 44 155 156 seg 43 seg 42 157 158 seg 41 seg 40 159 160 seg 39 seg 38 161 162 seg 37 seg 36 163 164 seg 35 seg 34 165 166 seg 33 seg 32 167 168 seg 31 seg 30 169 170 seg 29 seg 28 171 172 seg 27 seg 26 173 174 nc nc 175 176 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 nc nc nc nc nc nc p1 1 p1 2 p1 3 p1 4 p1 5 p1 6 p1 7 p2 0 p2 1 p2 2 p2 3 p2 4 p2 5 p2 6 p2 7 v ss x out x in p5 0 /x cout p5 1 /x cin reset p4 0 /int 0 p4 1 /int 1 p4 2 /cntr 0 p4 3 /cntr 1 p4 4 /r x d 1 p4 5 /t x d 1 p4 6 /s clk1 p4 7 /s rdy1 nc nc nc nc nc nc v ss nc nc 1 nc 2 nc seg 25 seg 24 3 4 seg 23 seg 22 5 6 seg 21 seg 20 7 8 seg 19 seg 18 9 10 seg 17 seg 16 11 12 seg 15 seg 14 13 14 seg 13 seg 12 15 16 seg 11 seg 10 17 18 seg 9 seg 8 19 20 seg 7 seg 6 21 22 seg 5 seg 4 23 24 seg 3 seg 2 25 26 seg 1 seg 0 27 28 nc nc 29 30 nc com 7 31 32 com 6 com 5 33 34 com 4 com 3 35 36 com 2 com 1 37 38 com 0 v lcd 39 40 v l3 v l2 41 nc nc 43 44 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 nc nc seg 66 seg 67 seg 68 seg 69 seg 70 seg 71 seg 72 seg 73 seg 74 seg 75 seg 76 seg 77 seg 78 seg 79 com 15 com 14 com 13 com 12 com 11 com 10 com 9 com 8 v cc p3 0 /r x d 2 p3 1 /t x d 2 p3 2 /s clk2 p3 3 /s rdy2 p3 4 p3 5 p3 6 p3 7 p0 0 p0 1 p0 2 p0 3 p0 4 p0 5 p0 6 p0 7 p1 0 nc nc
3 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers m37510m6-xxxfp block diagram seg 5 key-on wake up cntr 0 cntr 1 ram rom cpu a x y s ps reset 108 pc l pc h p2(8) x in s i/o2(8) reset input clock generating circuit clock input timer 2 (8) data bus timer x (16) int 0 , int 1 clk i/o port p0 s i/o1(8) p3(8) p4(8) p1(8) p0(8) v ss 67 47 62 65 i/o port p1 i/o port p2 i/o port p3 i/o port p4 p5(2) ff 66 63 64 x out clock output x cin /p5 1 sub- clock input x cout /p5 0 sub- clock output v ss v cc (5v) (0v) (0v) 24 k bytes 512 bytes (160 bytes) lcd ram controller lcd resistor bias controller contrast v lcd v l3 v l2 com 0 com 7 com 8 com 14 com 15 seg 0 seg 1 seg 2 seg 3 seg 4 seg 6 seg 7 seg 8 seg 9 seg 10 seg 73 seg 74 seg 75 seg 76 seg 77 seg 78 seg 79 40 41 42 39 109 115 116 32 28 27 26 25 24 23 22 21 20 19 18 123 122 121 120 119 118 117 91 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 100 61 60 59 58 57 56 55 54 101 102 103 104 105 106 107 92 93 94 95 96 97 98 99 . . . . . . . . . timer y (16) timer 3 (8) timer 1 (8) timer
4 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers p4 4 /r x d 1 , p4 5 /t x d 1 , p4 6 / s clk1 , p4 7 /s rdy1 pin pin description name function function except a port function v cc , v ss reset x in x out v lcd power source reset input clock input clock output lcd voltage source apply voltage of 4.0 to 5.5 v to v cc , and 0 v to v ss (in high-speed mode). reset input pin for active l. input and output pins for the main clock generating circuit. connect a ceramic resonator or quartz-crystal oscillator between the x in and x out pins to set the oscillating frequency. if an ex- ternal clock is used, connect the clock source to the x in pin and leave the x out pin open. v l2 , v l3 com 0 C com 15 seg 0 C seg 79 lcd bias control pin common output segment output p0 0 Cp0 7 p1 0 Cp1 7 p2 0 Cp2 7 i/o port p0 i/o port p1 i/o port p2 p3 0 /r x d 2 , p3 1 /t x d 2 , p3 2 / s clk2 , p3 3 /s rdy2 p3 4 Cp3 7 p4 0 /int 0 p4 1 /int 1 p4 2 /cntr 0 , p4 3 /cntr 1 p5 0 /x cout , p5 1 /x cin i/o port p3 input port p4 i/o port p4 i/o port p5 this pin is used as voltage supply input for lcd driver. input v lcd v cc voltage. when the lcd is operated at 1/5 bias, leave these pins open. when the lcd is operated at 1/4 bias, connect these pins externally. lcd common output pins. lcd segment output pins. an 8-bit i/o port. the output structure of this port is cmos 3-state, and the input levels are cmos compatible. the port direction register allows each pin to be individually programmed as either input or output. a 1-bit cmos level input port. a 7-bit i/o port with the same function as port p0. the port direction register allows each pin to be individually programmed as either input or output. a 2-bit i/o port with the same function as port p0. the port direction register allows each pin to be individually programmed as either input or output. key input (key-on wake-up) interrupt input pins. external interrupt input pins timer x, timer y function pins external interrupt input pins serial i/o1 function pins serial i/o2 function pins i/o pins for the internal sub clock generating circuit. connect an oscillator.
5 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers part numbering product name m37510m6-xxxfp m37510e6-xxxfp m37510e6fp m37510e6fs currently supported products are listed below. (p) rom size (bytes) ram size (bytes) package remarks mask rom version one time prom version one time prom version (blank) eprom version 176p6d-a 160d0 24k 512 as of may 1996 product m37510 m 6 xxx fp package type fp: 176p6d-a package fs: 160d0 package rom number omitted in some types. rom/prom size 1 : 4096 bytes 2 : 8192 bytes 3 : 12288 bytes 4 : 16384 bytes 5 : 20480 bytes 6 : 24576 bytes 7 : 28672 bytes 8 : 32768 bytes ram size 512 bytes the first 128 bytes and the last 2 bytes of rom are reserved areas; they cannot be used. memory type m : mask rom version e : eprom or one time prom version
6 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers functional description central processing unit (cpu) the 7510 group uses the standard 740 family instruction set. re- fer to the table of 740 family addressing modes and machine instructions or the series 740 users manual for de- tails on the instruction set. machine-resident 740 family instructions are as follows: the fst and slw instruction are not available for use. the stp, wit, mul, and div instruction can be used. fig. 1 structure of cpu mode register cpu mode register the cpu mode register is allocated at address 003b 16 . the cpu mode register contains the stack page selection bit and the internal system clock selection bit. (cpum : address 003b 16 ) b7 cpu mode register processor mode bits b1 b0 0 0 : single-chip mode 0 1 : do not use 1 0 : do not use 1 1 : do not use stack page selection bit 0 : ram in the zero page is used as stack area 1 : ram in page 1 is used as stack area x cout drivability selection bit 0 : low drive 1 : high drive port x c selection bit 0 : i/o port 1 : x cin , x cout main clock (x in -x out ) stop bit 0 : operating 1 : stopped main clock division ratio selection bit 0 : x in /2 (high-speed mode) 1 : x in /8 (middle-speed mode) internal system clock selection bit 0 : x in -x out selected (middle/high-speed mode) 1 : x cin -x cout selected (low-speed mode) b0
7 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers memory special function register (sfr) area the special function register area contains registers which con- trol functions such as i/o ports and timers, and is located in the zero page area. ram ram is used for data storage as well for stack area. rom the first 128 bytes and the last two bytes of rom are reserved for device testing and the rest is user area for storing programs. interrupt vector area the interrupt vector area contains reset and interrupt vectors. zero page this dedicated zero page addressing mode enables access to this area with only 2 bytes. special page this dedicated special page addressing mode enables access to this area with only 2 bytes. fig. 2 memory map diagram 0000 16 0040 16 00df 16 sfr area lcd display ram area 0100 16 0340 16 03df 16 xxxx 16 not used yyyy 16 zzzz 16 reserved rom area (common rom area, 128 bytes) ff00 16 ffdc 16 interrupt vector area fffe 16 ffff 16 reserved rom area ram rom special page zero page ram area type name address xxxx 16 m37510m6-xxxfp 023f 16 rom area type name address yyyy 16 m37510m6-xxxfp a000 16 address zzzz 16 a080 16 ] lcd display ram area ] ] lcd display ram area can reside at either zero page (addresses 0040 16 to 00df 16 ) or third page (addresses 0340 16 to 03df 16 ) by software. the third page is selected after reset.
8 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers fig. 3 memory map of special function register (sfr) 0000 16 0001 16 0002 16 0003 16 0004 16 0005 16 0006 16 0007 16 0008 16 0009 16 000a 16 000b 16 000c 16 000d 16 000e 16 000f 16 0010 16 0011 16 0012 16 0013 16 0014 16 0015 16 0016 16 0017 16 0018 16 0019 16 001a 16 001b 16 001c 16 001d 16 001e 16 port p0 (p0) port p0 direction register (p0d) port p1 (p1) port p1 direction register (p1d) port p2 (p2) port p2 direction register (p2d) port p3 (p3) port p3 direction register (p3d) port p4 (p4) port p4 direction register (p4d) port p5 (p5) port p5 direction register (p5d) port p0 pull-up control register (pullp0) port p1 pull-up control register (pullp1) port p2 pull-up control register (pullp2) port p3 pull-up control register (pullp3) port p4 pull-up control register (pullp4) port p5 pull-up control register (pullp5) transmit/receive buffer register 1 (tb1/rb1) serial i/o1 status register (sio1sts) serial i/o1 control register (sio1con) uart1 control register (uart1con) baud rate generator 1 (brg1) 001f 16 0020 16 0021 16 0022 16 0023 16 0024 16 0025 16 0026 16 0027 16 0028 16 0029 16 002a 16 002b 16 002c 16 002d 16 002e 16 002f 16 0030 16 0031 16 0032 16 0033 16 0034 16 0035 16 0036 16 0037 16 0038 16 0039 16 003a 16 003b 16 003c 16 003d 16 003e 16 timer x (low) (txl) timer x (high) (txh) timer y (low) (tyl) timer y (high) (tyh) timer 1 (t1) timer 2 (t2) timer 3 (t3) timer x mode register (txm) timer y mode register (tym) timer 123 mode register (t123m) transmit/receive buffer register 2 (tb2/rb2) serial i/o2 status register (sio2sts) serial i/o2 control register (sio2con) uart2 control register (uart2con) baud rate generator 2 (brg2) lcd contrast control register (lc) lcd mode register (lm) interrupt edge selection register (intedge) cpu mode register (cpum) interrupt request register 1 (ireq1) interrupt request register 2 (ireq2) interrupt control register 1 (icon1) 003f 16 interrupt control register 2 (icon2)
9 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers timer x function i/o timer y function i/o port p5 common segment p0 0 Cp0 7 p1 0 Cp1 7 p2 0 Cp2 7 i/o ports direction registers the 7510 group has 41 programmable i/o pins arranged in six i/o ports (ports p0 to p5). the i/o ports have direction registers which determine the input/output direction of each individual pin. each bit in a direction register corresponds to one pin, each pin can be set to be input or output. when 0 is written to the bit corresponding to a pin, that pin be- comes an input pin. when 1 is written to that bit, that pin becomes an output pin. if data is read from a pin which is set for output, the value of the port output latch is read, not the value of the pin itself. pins set to input are floating and can read the value of the pin itself. if a pin set to input is written to, only the port output latch is written to and the pin remains floating. port pull-up control registers the 7510 group is equipped with internal pull-ups that can be en- abled by software. each i/o port of ports p0Cp5 has an port pi (i= 0 to 5) pull-up control register (addresses 000c 16 to 0011 16 ). each bit of the pull-up control register controls a corresponding bit of the port. the value written to each individual bit determines whether the pull-up of the corresponding pin is either enabled or disabled. when 0 is written to the pull-up control register, the pull up on the pin is disabled. when 1 is written to the pull-up control register, the pull-up on the pin is enabled. after reset, all the pull-up control registers are initialized to 00 16 , disabling all the internal pull-ups. fig. 4 structure of port pi pull-up control register pin name input/output i/o format port p0 port p1 port p2 non-port function related sfrs port p3 port p4 input/output, individual bits input input/output, individual bits input/output, individual bits output output cmos compatible input level cmos 3-state output cmos compatible input level cmos compatible input level cmos 3-state output cmos compatible input level cmos 3-state output lcd common output lcd segment output key-on wake up interrupt input serial i/o2 function i/o external interrupt input serial i/o1 function i/o sub-clock generat- ing circuit i/o p3 0 /r x d 2 , p3 1 /t x d 2 , p3 2 / s clk2 , p3 3 /s rdy2 p3 4 Cp3 7 p4 0 /int 0 p4 1 /int 1 p4 2 /cntr 0 , p4 3 /cntr 1 p4 4 /r x d 1 , p4 5 /t x d 1 , p4 6 / s clk1 , p4 7 /s rdy1 p5 0 /x cout , p5 1 /x cin com 0 C com 15 seg 0 C seg 79 cpu mode register lcd mode register interrupt control register 2 serial i/o2 control register serial i/o2 status register uart control register 2 timer x mode register timer y mode register serial i/o1 control register serial i/o1 status register uart1 control register ref. no. (1) (1) (2) (3) (4) (5) (6) (1) (7) (8) (9) (8) (3) (4) (5) (6) (1) notes 1: for details of how to use double-function ports as function i/o ports, refer to the applicable sections. 2: make sure that the input level at each pin is either 0 v or v cc during execution of the stp instruction. when an input level is at an intermediate potential, a current will flow from v cc to v ss through the input-stage gate. input/output, individual bits input/output, individual bits input/output, individual bits cmos compatible input level cmos 3-state output cmos compatible input level cmos 3-state output cmos compatible input level cmos 3-state output b7 port pi pull-up control register (pullpi : addresses 000c 16 to 0011 16 ) pi 0 pull-up pi 1 pull-up pi 2 pull-up pi 3 pull-up pi 4 pull-up pi 5 pull-up pi 6 pull-up pi 7 pull-up b0 0 : disabled 1 : enabled i = 0 to 5
10 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers fig. 5 port block diagram (1) (1) port p0, p1, p3 4 to p3 7 , p5 direction register port latch data bus pull-up control (2) port p2 direction register port latch data bus pull-up control key-on wake up input (3) port p3 0 , p4 4 direction register port latch data bus pull-up control direction register port latch data bus pull-up control serial i/o input serial i/o enable bit (4) port p3 1 , p4 5 p-channel output disable bit serial i/o output serial i/o enable bit (5) port p3 2 , p4 6 direction register port latch data bus pull-up control direction register port latch data bus pull-up control serial clock output clock selection bit (6) port p3 3 , p4 7 serial ready output serial i/o mode selection bit serial i/o enable bit s rdy output enable bit external clock input serial i/o mode selection bit transmit enable bit receive enable bit serial i/o enable bit serial i/o synchronous serial i/o enable bit
11 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers fig. 6 port block diagram (2) (7) port p4 0 data bus (8) port p4 1 , p4 3 direction register port latch data bus pull-up control direction register port latch data bus pull-up control (9) port p4 2 pulse output mode int 1 interrupt input cntr 1 interrupt input int 0 interrupt input timer output cntr 0 interrupt input
12 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers interrupt request generating conditions high fffd 16 interrupts a total of 15 sources can generate interrupts: 5 external, 9 inter- nal, and 1 software. interrupt control each interrupt is controlled by an interrupt request bit, an interrupt enable bit, and the interrupt disable flag except for the software in- terrupt set by the brk instruction. an interrupt is generated if the corresponding interrupt request and enable bits are 1 and the in- terrupt disable flag is 0. interrupt enable bits can be set or cleared by software. interrupt request bits can be cleared by software, but cannot be set by software. the reset and brk instruction can not be disabled with any flag or bit. the i flag disables all interrupts except for the brk instruction in- terrupt and the reset. when several interrupts occur at the same time, the interrupts are received according to priority. interrupt operation when an interrupt is received, the program counter and processor status register are automatically pushed onto the stack. the inter- rupt disable flag is set to inhibit other interrupts from interfering. the corresponding interrupt request bit is cleared and the interrupt jump destination address is read from the vector table into the pro- gram counter. notes on use when the active edge of an external interrupt (int 0 , int 1 , cntr 0 , or cntr 1 ) is changed, the corresponding interrupt request bit may also be set. therefore, please take following sequence; (1) disable the external interrupt which is selected. (2) change the active edge selection. (3) clear interrupt request which is selected to 0. (4) enable the external interrupt which is selected. table 1 interrupt vector addresses and priority interrupt source priority low fffc 16 remarks reset (note 2) int 0 int 1 non-maskable external interrupt (active edge selectable) external interrupt (active edge selectable) valid when serial i/o1 is se- lected valid when serial i/o1 is se- lected valid when serial i/o2 is se- lected valid when serial i/o2 is se- lected external interrupt (active edge selectable) external interrupt (active edge selectable) external interrupt (valid when an l level is applied) non-maskable software inter- rupt at brk instruction execution fffa 16 fff8 16 fff6 16 fff4 16 fff2 16 fff0 16 ffee 16 ffec 16 ffea 16 ffe8 16 ffe6 16 ffe4 16 ffe2 16 ffe0 16 ffdc 16 fffb 16 fff9 16 fff7 16 fff5 16 fff3 16 fff1 16 ffef 16 ffed 16 ffeb 16 ffe9 16 ffe7 16 ffe5 16 ffe3 16 ffe1 16 ffdd 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 serial i/o1 reception serial i/o1 transmission timer x timer y timer 2 timer 3 serial i/o2 reception serial i/o2 transmission cntr 0 cntr 1 timer 1 key-on wake up brk instruction notes 1: vector addresses contain interrupt jump destination addresses. 2: reset function in the same way as an interrupt with the highest priority. vector addresses (note 1) at reset at detection of either rising or falling edge of int 0 input at detection of either rising or falling edge of int 1 input at end of serial i/o1 data re- ception at end of serial i/o1 transfer shift or when transmission buffer is empty at timer x underflow at timer y underflow at timer 2 underflow at timer 3 underflow at end of serial i/o2 data re- ception at end of serial i/o2 transfer shift or when transmission buffer is empty at detection of either rising or falling edge of cntr 0 input at detection of either rising or falling edge of cntr 1 input at timer 1 underflow at falling of conjunction of in- put logic level for port p2 (at input)
13 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers fig. 7 interrupt control fig. 8 structure of interrupt-related registers interrupt disable flag (i) interrupt request interrupt request bit interrupt enable bit brk instruction reset b7 interrupt edge selection register (intedge : address 003a 16 ) int 0 active edge selection bit int 1 active edge selection bit not used (return ??when read) b0 0 : falling edge active 1 : rising edge active b7 interrupt request register 1 (ireq1 : address 003c 16 ) int 0 interrupt request bit int 1 interrupt request bit serial i/o1 receive interrupt request bit serial i/o1 transmit interrupt request bit timer x interrupt request bit timer y interrupt request bit timer 2 interrupt request bit timer 3 interrupt request bit b0 b7 interrupt request register 2 (ireq2 : address 003d 16 ) serial i/o2 receive interrupt request bit serial i/o2 transmit interrupt request bit cntr 0 interrupt request bit cntr 1 interrupt request bit timer 1 interrupt request bit key-on wake up interrupt request bit not used (return ??when read) b0 b7 interrupt control register 1 (icon1 : address 003e 16 ) int 0 interrupt enable bit int 1 interrupt enable bit serial i/o1 receive interrupt enable bit serial i/o1 transmit interrupt enable bit timer x interrupt enable bit timer y interrupt enable bit timer 2 interrupt enable bit timer 3 interrupt enable bit b0 b7 interrupt control register 2 (icon2 : address 003f 16 ) serial i/o2 receive interrupt enable bit serial i/o2 transmit interrupt enable bit cntr 0 interrupt enable bit cntr 1 interrupt enable bit timer 1 interrupt enable bit key-on wake up interrupt enable bit not used (returns ??when read) not used (returns ??when read) (do not write ??to this bit) b0 0 : no interrupt request issued 1 : interrupt request issued 0 : interrupts disabled 1 : interrupts enabled
14 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers timers the 7510 group has five built-in timers: timer x, timer y, timer 1, timer 2, and timer 3. timer x and timer y are 16-bit timers, whereas timer 1, timer 2, and timer 3 are 8-bit timers. all timers are down count timers. when the timer reaches 00 16 , an underflow occurs at the next count pulse and the correspond- ing timer latch is reloaded into the timer and the count is continued. when a timer underflows, the interrupt request bit cor- fig. 9 block diagram of timer x cin x in 1/32 1/16 p4 2 /cntr 0 p4 2 direction register pulse output mode p4 2 latch p4 3 /cntr 1 cntr 1 active edge selection bit internal system clock selection bit cntr 0 active edge selection bit timer x stop control bit timer x write control bit timer x interrupt request timer x operation mode bit pulse output mode cntr 0 interrupt request cntr 0 active ? edge selection bit ? ? ?0 ?1 ?1 ?0 ? ? ? ?0 ?1 ?1 ?0 timer y operation mode bit timer 1 count source selection bit ? ? ? ? timer 2 count source selection bit timer 3 count source selection bit timer 3 interrupt request timer 1 interrupt request timer 2 interrupt request timer 2 write control bit timer y interrupt request timer y operation mode bit cntr 1 interrupt request pulse width continuously measurement mode period measurement mode rising edge detector falling edge detector timer y stop control bit timer 1 latch (8) timer 1 (8) timer 2 latch (8) timer 2 (8) timer 3 latch (8) timer 3 (8) ? ? ?1 ?1 ?0 ?0 timer xl latch (8) timer xl (8) timer xh latch (8) timer xh (8) timer yl latch (8) timer yl (8) timer yh latch (8) timer yh (8) s q q t ? ?
15 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers responding to that timer is set to 1. read and write operation on 16-bit timer must be performed for both high and low-order bytes. when reading a 16-bit timer, read the high-order byte first. when writing to a 16-bit timer, write the low-order byte first. the 16-bit timer cannot perform the correct op- eration when reading during the write operation, or when writing during the read operation. timer x timer x is a 16-bit timer that can be selected in one of four modes and can be controlled the timer x write by setting the timer x mode register. timer mode the timer counts f(x in )/16 (or f(x cin )/16, if the selected system clock f is f(x cin )/2). pulse output mode each time the timer underflows, a signal output from the cntr 0 pin is inverted. except for this, the operation in pulse output mode is the same as in timer mode. when using a timer in this mode, set the corresponding port p4 2 direction register to output mode. event counter mode the timer counts signals input through the cntr 0 pin. except for this, the operation in event counter mode is the same as in timer mode. pulse width measurement mode the count source is f(x in )/16 (or f(x cin )/16, if the selected system clock f is f(x cin )/2). if cntr 0 active edge selection bit is 0, the timer counts while the input signal of cntr 0 pin is at h. if it is 1, the timer counts while the input signal of cntr 0 pin is at l. timer x write control if the timer x write control bit is 0, when the value is written in the address of timer x, the value is loaded in the timer x and the latch at the same time. if the timer x write control bit is 1, when the value is written in the address of timer x, the value is loaded only in the latch. the value in the latch is loaded in timer x after timer x underflows. if the value is written in latch only, unexpected value may be set in the high-order counter when the writing in high-order latch and the underflow of timer x are performed at the same timing. note on cntr 0 interrupt active edge selection cntr 0 interrupt active edge depends on the cntr 0 active edge selection bit. fig. 10 structure of timer x mode register timer x write control bit 0 : write data in latch and timer 1 : write data in latch only not used (always write 0 ) timer x operation mode bits b5 b4 0 0 : timer mode 0 1 : pulse output mode 1 0 : event counter mode 1 1 : pulse width measurement mode cntr 0 active edge selection bit 0 : count at rising edge in event counter mode start from h output in pulse output mode measure h pulse width in pulse width measurement mode falling edge active for cntr 0 interrupt 1 : count at falling edge in event counter mode start from l output in pulse output mode measure l pulse width in pulse width measurement mode rising edge active for cntr 0 interrupt timer x stop control bit 0 : count start 1 : count stop b7 timer x mode register (txm : address 0027 16 ) b0
16 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers timer y timer y is a 16-bit timer that can be selected in one of four modes. timer mode the timer counts f(x in )/16 (or f(x cin )/16, if the selected system clock f is f(x cin )/2). period measurement mode cntr 1 interrupt request is generated at rising/falling edge of cntr 1 pin input signal. simultaneously, the value in timer y latch is reloaded in timer y and timer y continues counting down. except for the above-mentioned, the operation in period measurement mode is the same as in timer mode. the timer value just before the reloading at rising/falling of cntr 1 pin input signal is retained until the timer y is read once after the reload. the rising/falling timing of cntr 1 pin input signal is found by cntr 1 interrupt. event counter mode the timer counts signals input through the cntr 1 pin. except for this, the operation in event counter mode is the same as in timer mode. pulse width hl continuously measurement mode cntr 1 interrupt request is generated at both rising and falling edges of cntr 1 pin input signal. except for this, the operation in pulse width hl continuously measurement mode is the same as in period measurement mode. note on cntr 1 interrupt active edge selection cntr 1 interrupt active edge depends on the cntr 1 active edge selection bit. however, in pulse width hl continuously measure- ment mode, cntr 1 interrupt request is generated at both rising and falling edges of cntr 1 pin input signal regardless of the set- ting of cntr 1 active edge selection bit. fig. 11 structure of timer y mode register not used (return 0 when read) timer y operation mode bits b5 b4 0 0 : timer mode 0 1 : period measurement mode 1 0 : event counter mode 1 1 : pulse width hl continuously measurement mode cntr 1 active edge selection bit 0 : count at rising edge in event counter mode measure the falling edge to falling edge period in period measurement mode falling edge active for cntr 1 interrupt 1 : count at falling edge in event counter mode measure the rising edge to rising edge period in period measurement mode rising edge active for cntr 1 interrupt timer y stop control bit 0 : count start 1 : count stop b7 timer y mode register (tym : address 0028 16 ) b0
17 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers timer 1, timer 2, timer 3 timer 1, timer 2, and timer 3 are 8-bit timers. the count source for each timer can be selected by timer 123 mode register. the timer latch value is not affected by a change of the count source. how- ever, because changing the count source may cause an inadvertent count down of the timer. therefore, rewrite the value of timer whenever the count source is changed. timer 2 write control if the timer 2 write control bit is 0, when the value is written in the address of timer 2, the value is loaded in the timer 2 and the latch at the same time. if the timer 2 write control bit is 1, when the value is written in the address of timer 2, the value is loaded only in the latch. the value in the latch is loaded in timer 2 after timer 2 underflows. note on timer 1 to timer 3 when the count source of timer 1 to 3 is changed, the timer count- ing value may be changed large because a thin pulse is generated in count input of timer. if the count source of timer 2 or timer 3 is connected to timer 1 output, when timer 1 is written, the counting value of timer 2 or timer 3 may be changed large because a thin pulse is generated in timer 1 output. therefore, set the value of timer in the order of timer 1 , timer 2 and timer 3 after the count source selection of timer 1 to 3. fig. 12 structure of timer 123 mode register not used (always write 0 ) timer 2 write control bit 0 : write data in latch and timer 1 : write data in latch only timer 2 count source selection bit 0 : timer 1 output 1 : x in /16 (or x cin /16 when system clock f = x cin /2) timer 3 count source selection bit 0 : timer 1 output 1 : x cin /32 timer 1 count source selection bit 0 : x in /16 (or x cin /16 when system clock f = x cin /2) 1 : x cin /32 not used (return 0 when read) b7 timer 123 mode register (t123m : address 0029 16 ) b0
18 7510 gr oup single-chip 8-bit cmos microcomputer mitsubishi micr ocomputers data bus receive buffer address 0018 16 0030 16 receive buffer full flag (rbf) receive interrupt request (ri) serial i/o control register receive shift register shift clock clock control circuit clock control circuit falling-edge detector serial i/o synchronous clock selection bit frequency division ratio 1/(n+1) baud rate generator address 001c 16 0034 16 shift clock transmit shift register transmit buffer register transmit interrupt source selection bit transmit shift completion flag (tsc) transmit interrupt request (ti) transmit buffer empty flag (tbe) serial i/o status register address 0018 16 data bus f/f p4 4 /r x d 1 p3 0 /r x d 2 p4 6 /s clk1 p3 2 /s clk2 f(x in ) p4 7 /s rdy1 p3 3 /s rdy2 p4 5 /t x d 1 p3 1 /t x d 2 contents in are for serial i/o2. 1/4 1/4 address 001a 16 0032 16 address 0019 16 0031 16 brg count source selection bit 0030 16 serial i/o the 7510 group has two built-in serial i/o channels (serial i/o1 and serial i/o2). both serial i/o ports are functionally ide ntical. serial i/o can be used as either clock synchronous or asynch ro- nous (uar t) serial i/o. a dedicated timer (baud rate generator) is also provided for baud rate generation. cloc k sync hr onous serial i/o mode clock synchronous serial i/o mode can be selected by setting the mode selection bit of the serial i/o control register (addr esses 001a 16 and 0032 16 ) to 1. for clock synchronous serial i/o, the transmitter and the re ceiver must use the same clock. if an internal clock is used, trans fer is started by a write signal to the tb/rb (addresses 0018 16 and 0030 16 ). fig. 13 block diagram of clock synchronous serial i/o fig. 14 operation of clock synchronous serial i/o function d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 d 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 d 0 internal clock f transfer shift clock (1/2 to 1/2048 of the internal clock, or an external clock) serial output t x d serial input r x d receive enable signal s rdy write signal to receive/transmit buffer tbe = 0 tbe = 1 tsc = 0 rbf = 1 tsc = 1 overrun error (oe) detection the transmit interrupt (ti) can be selected to occur either when the transmit buffer has emptied (tbe = 1) or after the transmi t shift operation has ended (tsc = 1), by setting the transmit inter rupt source selection bit (tic) of the serial i/o control re gister. if data is written to the transmit buffer when tsc = 0, the transmit clock is generated continuously and serial data is output continuously from the t x d pin. the receive interrupt (ri) is set when the receive buffer fu ll flag (rbf) becomes 1. notes 1 : 2 : 3 :
19 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers asynchronous serial i/o (uart) mode clock asynchronous serial i/o mode (uart) can be selected by clearing the serial i/o mode selection bit of the serial i/o control register to 0. eight serial data transfer formats can be selected, and the transfer formats used by a transmitter and receiver must be identical. the transmit and receive shift registers each have a buffer, but the two buffers have the same address in memory. since the shift register cannot be written to or read from directly, transmit data is written to the transmit buffer, and receive data is read from the receive buffer. the transmit buffer can also hold the next data to be transmitted, and the receive buffer can hold a char- acter while the next character is being received. fig. 15 block diagram of uart serial i/o fig. 16 operation of uart serial i/o function data bus receive buffer receive buffer full flag (rbf) receive interrupt request (ri) serial i/o control register receive shift register clock control circuit p4 4 /r x d 1 p3 0 /r x d 2 address 001a 16 0032 16 address 0018 16 0030 16 uart control register address 001b 16 0033 16 sp detector pe fe 7 bits 8 bits character length selection bit oe p4 6 /s clk1 p3 2 /s clk2 f(x in ) p4 5 /t x d 1 p3 1 /t x d 2 baud rate generator address 001c 16 0034 16 1/4 brg count source selection bit frequency division ratio 1/(n+1) 1/16 serial i/o synchronous clock selection bit character length selection bit transmit shift register transmit buffer register transmit interrupt source selection bit transmit shift completion flag (tsc) transmit interrupt request (ti) serial i/o status register address data bus contents in are for serial i/o2. 0018 16 0030 16 transmit buffer empty flag (tbe) address 0019 16 0031 16 1/16 st detector st/sp/pa generator d 0 d 1 tbe = 1 sp st d 0 d 1 st sp tsc = 1 ] tbe = 0 tbe = 0 tsc = 0 tbe = 1 1 start bit 7 or 8 data bits 1 or 0 parity bit 1 or 2 stop bit(s) ] generated at 2nd bit in 2-stop-bit mode rbf = 0 d 0 d 1 rbf = 1 sp st d 0 d 1 st sp rbf = 1 transmit or receive clock transmit buffer write signal serial output t x d receive buffer read signal serial input r x d error flag detection occurs at the same time that the rbf flag becomes ??(at 1st stop bit, during reception). the transmit interrupt (ti) can be selected to occur when either the tbe or tsc flag becomes ?? depending on the setting of t he transmit interrupt source selection bit (tic) of the serial i/o control register. the receive interrupt (ri) is set when the rbf flag becomes ?? after data is written to the transmit buffer when tsc = 1, 0.5 to 1.5 cycles of the data shift cycle is necessary until changin g to tsc = 0. notes 1 : 2 : 3 : 4 :
20 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers serial i/o control register sio1con (001a 16 ), sio2con (0032 16 ) the serial i/o control register consists of eight control bits for the serial i/o function. uart control register uart1con (001b 16 ), uart2con (0033 16 ) the uart control register consists of four control bits (bits 0 to 3) which are valid when asynchronous serial i/o is selected and set the data format of an data transfer. one bit in this register (bit 4) is always valid and sets the output structure of the p4 5 /t x d 1 (p3 1 / t x d 2 ) pin. serial i/o status register sio1sts (0019 16 ), sio2sts (0031 16 ) the read-only serial i/o status register consists of seven flags (bits 0 to 6) which indicate the operating status of the serial i/o function and various errors. three of the flags (bits 4 to 6) are valid only in uart mode. the receive buffer full flag (bit 1) is cleared to 0 when the receive buffer is read. if there is an error, it is detected at the same time that data is transferred from the receive shift register to the receive buffer, and the receive buffer full flag is set. writing to the serial i/o status reg- ister clears all the error flags oe, pe, fe, and se (bit 3 to bit 6, respectively). writing 0 to the serial i/o enable bit sioe (bit 7 of the serial i/o control register) also clears all the status flags, in- cluding the error flags. all bits of the serial i/o status register are initialized to 0 at reset, but if the transmit enable bit (bit 4) of the serial i/o control register has been set to 1, the transmit shift completion flag (bit 2) and the transmit buffer empty flag (bit 0) become 1. transmit buffer register/receive buffer register tb1/rb1 (0018 16 ), tb2/rb2 (0030 16 ) the transmit buffer register and the receive buffer register are lo- cated at the same address. the transmit buffer register is write-only and the receive buffer register is read-only. if a character bit length is 7 bits, the msb of data stored in the re- ceive buffer register is 0. baud rate generator brg1 (001c 16 ), brg2 (0034 16 ) the baud rate generator determines the baud rate for serial trans- fer. the baud rate generator divides the frequency of the count source by 1/(n+1), where n is the value written to the baud rate generator.
21 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers transmit buffer empty flag (tbe) 0 : buffer full 1 : buffer empty receive buffer full flag (rbf) 0 : buffer empty 1 : buffer full transmit shift completion flag (tsc) 0 : transmit shift in progress 1 : transmit shift completed overrun error flag (oe) 0 : no error 1 : overrun error parity error flag (pe) 0 : no error 1 : parity error framing error flag (fe) 0 : no error 1 : framing error summing error flag (se) 0 : (oe) u (pe) u (fe) = 0 1 : (oe) u (pe) u (fe) = 1 not used (returns 1 when read) b7 serial i/o status register (sio1sts : address 0019 16 ) (sio2sts : address 0031 16 ) b0 brg count source selection bit (css) 0 : f(x in ) 1 : f(x in ) divided by 4 serial i/o synchronous clock selection bit (scs) 0 : brg output divided by 4 when clock synchronous serial i/o is selected, brg output divided by 16 when uart is selected. 1 : external clock input when clock synchronous serial i/o is selected, external clock input divided by 16 when uart is selected. s rdy output enable bit (s rdy ) 0 : p4 7 p3 3 pin operates as ordinary i/o pin 1 : p4 7 p3 3 pin operates as s rdy output pin transmit interrupt source selection bit (tic) 0 : interrupt when transmit buffer has emptied 1 : interrupt when transmit shift operation is completed transmit enable bit (te) 0 : transmit disabled 1 : transmit enabled receive enable bit (re) 0 : receive disabled 1 : receive enabled serial i/o mode selection bit (siom) 0 : asynchronous serial i/o (uart) 1 : clock synchronous serial i/o serial i/o enable bit (sioe) 0 : serial i/o disabled (pins p4 4 to p4 7 p3 0 to p3 3 operate as ordinary i/o pins) 1 : serial i/o enabled (pins p4 4 to p4 7 p3 0 to p3 3 operate as serial i/o pins) b7 serial i/o control register (sio1con : address 001a 16 ) (sio2con : address 0032 16 ) b0 character length selection bit (chas) 0 : 8 bits 1 : 7 bits parity enable bit (pare) 0 : parity checking disabled 1 : parity checking enabled parity selection bit (pars) 0 : even parity 1 : odd parity stop bit length selection bit (stps) 0 : 1 stop bit 1 : 2 stop bits p4 5 /t x d 1 p-channel output disable bit (poff) p3 1 /t x d 2 p-channel output disable bit 0 : cmos output (in output mode) 1 : n-channel open-drain output (in output mode) not used (return 1 when read) b7 uart control register (uart1con : address 001b 16 ) (uart2con : address 0033 16 ) b0 contents in are for serial i/o2. fig. 17 structure of serial i/o control registers
22 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers lcd controller/driver the 7510 group has a built-in liquid crystal display (lcd) control- ler/driver consisting of the following. l a 160-byte lcd display ram l segment drivers l common drivers l a timing generator l a built-in bias resistor l a timing controller l an lcd mode register l an lcd contrast control register l an lcd contrast controller a maximum of eighty segment output pins (seg 0 Cseg 79 ) and six- teen common output pins (com 0 Ccom 15 ) can be used to control an external lcd display controller. fig. 18 block diagram of lcd controller/driver lcdck count source selection bit lcd display ram address selection bit seg 0 lcd display ram seg 1 seg 78 seg 79 v lcd v l2 v l3 v ss com 0 com 1 com 7 lcd contrast control register address 0037 16 7 0 70 lcd mode register address 0039 16 duty ratio selection bit lcdck division ratio selection bit lcdck count source selection bit lcd drive timing selection bit lcd enable bit lcdck timing controller contrast controller common driver bias controller bias resistor common driver segment driver segment driver segment driver segment driver bit selector bit selector bit selector bit selector 0040 16 , 0090 16 or 0340 16 , 0390 16 0041 16 , 0091 16 or 0341 16 , 0391 16 008e 16 , 00de 16 or 038e 16 , 03de 16 008f 16 , 00df 16 or 038f 16 , 03df 16 01 5 01 5 01 5 01 5 lcd contrast control enable bit f(x cin )/16 f(x in )/1024 data bus com 8 com 9 com 15 lcd clock generator .............. .............. .............. .............. .............. .............. .............. .........
23 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers lcd controller/driver function the controller/driver reads the display data, performs bias and duty ratio control, and outputs the correct lcd timing signals on the segment and common pins according to the data in lcd dis- play ram. lcd mode register lm (0039 16 ) the lcd mode register is an 8-bit register. this register is used to match the characteristics of the controller/driver to the lcd panel used. table 2 maximum number of display pixels for each duty ratio duty ratio maximum number of display pixels 1/8 1/11 1/16 note: prior to executing an stp instruction, the lcd must be disabled by clearing the bit 3 of the lcd mode register to 0. fig. 19 structure of lcd mode register 8 5 80 dots (16 characters (5 5 7 dots/1 character) + cursor) 5 1 line 11 5 80 dots (16 characters (5 5 10 dots/1 character) + cursor) 5 1 line 16 5 80 dots (16 characters (5 5 7 dots/1 character) + cursor) 5 2 line duty ratio selection bits b1 b0 0 0 : 1/8 duty (pins com 0 C com 7 ) 0 1 : 1/8 duty (pins com 8 C com 15 ) 1 0 : 1/11 duty (pins com 0 C com 10 ) 1 1 : 1/16 duty (pins com 0 C com 15 ) lcd display ram address selection bit 0 : third page 1 : zero page lcd enable bit 0 : turn off 1 : turn on lcd drive timing selection bit 0 : type-a 1 : type-b lcdck division ratio selection bits b6 b5 0 0 : clock input 0 1 : clock input/2 1 0 : clock input/4 1 1 : clock input/8 lcdck count source selection bit 0 : f(x in ) /1024 1 : f(x cin ) /16 b7 lcd mode register (lm : address 0039 16 ) b0
24 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers lcd display ram the 7510 group has lcd display ram apart from user ram at addresses 0040 16 to 043f 16 . the lcd display ram consists of 160 bytes. the memory space for the lcd display ram can be selected as zero page addresses 0040 16 to 00df 16 or third page addresses 0340 16 to 03df 16 , by setting the lcd display ram ad- dress selection bit. when the lcd display ram is at zero page, the addresses 0040 16 to 00df 16 of user ram can not be used. when the lcd display ram is at third page, the addresses 0340 16 to 03df 16 of user ram can not be used. after reset, the lcd display ram is set to third page. writing 1 to a bit of the lcd display ram activates the corre- sponding pixel on the lcd panel and writing 0 to the bit turns the pixel off. note: the data of user ram at the same addresses with the lcd display ram (addresses 0040 16 to 00df 16 or 0340 16 to 03df 16 ) is retained. therefore, user ram can be used effectively by switching the lcd display ram address. fig. 20 lcd display ram map and example of a display pattern for 1/16 duty operation 1 1 10 1 1 1 1 com 0 com 1 com 2 com 3 com 4 com 5 com 6 com 7 com 8 com 9 com 10 com 11 com 12 com 13 com 14 com 15 1000 01110111110111010001 00101110 1101100100001001000010001 1000100100 1010100100001001000010001 1000100100 1010100100001000111010001 1111100100 1000100100001000000110001 1000100100 1000100100001000000110001 1000100100 1000101110001001111001110 1000101110 1111100000000000000000000 0000000000 11 1000100110111111111100100 1111111110 110110100 00001100000 100 1000010001 10 0100001000101111000100 1000010001 10 0100110001000000100100 1111011110 1000100001001000000100100 1000010000 1000101001001001000100100 1000010000 1000100110001000111001110 1000010000 0000000000000000000000000 111100000 seg 0 seg 1 seg 2 seg 3 seg 4 seg 5 seg 6 seg 7 seg 8 seg 9 seg 10 seg 11 seg 12 seg 13 seg 14 seg 15 seg 16 seg 17 seg 18 seg 19 seg 20 seg 21 seg 22 seg 23 seg 24 0340 16 0341 16 0342 16 0343 16 0344 16 0345 16 0346 16 0347 16 0348 16 0349 16 034a 16 034b 16 034c 16 034d 16 034e 16 034f 16 0350 16 0351 16 0352 16 0353 16 0354 16 0355 16 0356 16 0357 16 0358 16 0386 16 0387 16 0388 16 0389 16 038a 16 038b 16 038c 16 038d 16 038e 16 038f 16 03d6 16 03d7 16 03d8 16 03d9 16 03da 16 03db 16 03dc 16 03dd 16 03de 16 03df 16 0390 16 0391 16 0392 16 0393 16 0394 16 0395 16 0396 16 0397 16 0398 16 0399 16 039a 16 039b 16 039c 16 039d 16 039e 16 039f 16 03a0 16 03a1 16 03a2 16 03a3 16 03a4 16 03a5 16 03a6 16 03a7 16 03a8 16 at third page selection 0040 16 0041 16 0042 16 0043 16 0044 16 0045 16 0046 16 0047 16 0048 16 0049 16 004a 16 004b 16 004c 16 004d 16 004e 16 004f 16 0050 16 0051 16 0052 16 0053 16 0054 16 0055 16 0056 16 0057 16 0058 16 0086 16 0087 16 0088 16 0089 16 008a 16 008b 16 008c 16 008d 16 008e 16 008f 16 00d6 16 00d7 16 00d8 16 00d9 16 00da 16 00db 16 00dc 16 00dd 16 00de 16 00df 16 0090 16 0091 16 0092 16 0093 16 0094 16 0095 16 0096 16 0097 16 0098 16 0099 16 009a 16 009b 16 009c 16 009d 16 009e 16 009f 16 00a0 16 00a1 16 00a2 16 00a3 16 00a4 16 00a5 16 00a6 16 00a7 16 00a8 16 at zero page selection seg 70 seg 71 seg 72 seg 73 seg 74 seg 75 seg 76 seg 77 seg 78 seg 79 lsb msb lsb msb lcd display ram map
25 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers bias control and time division control the lcd controller/driver has built-in bias resistor and supports 1/ 4 bias or 1/5 bias. the bias setting is made by either floating pins v l2 and v l3 (1/5 bias) or shorting them together externally (1/4 bias). the number of common pins driven is determined by the duty ratio selected. bits 0 and 1 of the lcd mode register are used to set the duty ratio. contrast controller the contrast controller is a circuit generating 32 steps of voltages using the voltage applied to the v lcd pin as the reference voltage. the voltage generated varies depending on the values given to bit 0Cbit 4 with the lcd contrast control register. when bit 7 of the lcd contrast control register is set to 1, the voltage generated by the contrast controller is applied to v l5 . given below is the relation between the values set to bit 0Cbit 4 of lcd contrast control regis- ter and the voltages applied to v l5 . voltage applied to v l5 = voltage applied to the v lcd pin 5 (n+33)/64 where: n = value set to bit 0Cbit 4 of the lcd contrast control register (in decimal values) duty ratio 1/8 1/11 1/16 duty ratio selection bit bit 1 0 0 1 1 bit 0 0 1 0 1 common pins used com 0 Ccom 7 com 8 Ccom 15 com 0 Ccom 10 com 0 Ccom 15 when the contrast controller is used, it becomes possible to apply 32 steps of voltage to v l5 from 1/2 v lcd through v lcd . conse- quently, 32 steps of contrast adjustment by the software becomes possible. note: supply power to the contrast controller from an external source through the v lcd pin. also, when bit 7 of the lcd contrast control register is set to 0, v lcd pin is coupled directly to v l5 (the contrast controller and v l5 become separated). in this case, perform contrast adjustment using an external circuit. note: for all duty ratios, the unused common pins output the non-select waveform. fig. 22 structure of lcd contrast control register lcd drive timing the lcd controller/driver supports both type-a and type-b drive timing. the desired type is selected by setting the lcd drive timing selec- tion bit (bit 4 of the lcd mode register). if the lcd drive timing selection bit is set to 0, type-a is selected, and if this bit is set to 1, type-b is selected. after reset, type-a is selected for the drive timing. the frame frequency can be determined by the following equation: frame frequency = fig. 21 example of circuit at 1/5 and 1/4 bias table 3 time division control lcdck count source frequency lcdck division ratio 5 duty ratio v l5 r v l4 r v l3 r v l2 r v l1 r v l2 v l3 contrast controller ? ? lcd contrast control enable bit variable resistance for brightness control open v lcd 1/5 bias variable resistance for brightness control v l5 r v l4 r v l3 r v l2 r v l1 r v l2 v l3 contrast controller ? ? lcd contrast control enable bit external connection v lcd 1/4 bias lcd contrast control register (lc : address 0037 16 ) v lcd level selection bit not used (returns ??when read) lcd contrast control enable bit 0 : built-in lcd contrast controller is not used 1 : built-in lcd contrast controller is used. b7 b0
26 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers 1 frame off off off on on off lcdck com 7 v l5 v l4 v l3 v l2 v l1 v ss com 6 v l5 v l4 v l3 v l2 v l1 v ss seg 0 C com 7 v l5 v l4 v l3 v l2 v l1 v ss v l1 v l2 v l3 v l4 v l5 seg 0 v l5 v l4 v l3 v l2 v l1 v ss seg 0 C com 6 v l5 v l4 v l3 v l2 v l1 v ss v l1 v l2 v l3 v l4 v l5 fig. 23 1/8 duty, 1/5 bias, type-a lcd wave diagram
27 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers fig. 24 1/8 duty, 1/5 bias, type-b lcd wave diagram 1 frame off on lcdck com 7 com 6 seg 0 C com 7 seg 0 seg 0 C com 6 v l5 v l4 v l3 v l2 v l1 v ss v l1 v l2 v l3 v l4 v l5 off v l5 v l4 v l3 v l2 v l1 v ss v l5 v l4 v l3 v l2 v l1 v ss v l5 v l4 v l3 v l2 v l1 v ss 1 frame off on off on off off v l5 v l4 v l3 v l2 v l1 v ss v l1 v l2 v l3 v l4 v l5
28 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers key-on wake up the 7510 group contains a key-on wake up interrupt function. the key-on wake up interrupt function is one way of returning from a power down state caused by the stp or wit instruction. this interrupt is generated by applying l level to any pin of port p2 and the microcomputer is returned to the normal operating state. if a key matrix is connected to port p2 0 to p2 3 as shown in figure 25, the microcomputer can be returned to a normal state by pressing any one of the keys. fig. 25 block diagram of port p2, and example of wired at used key-on wake up port p2 x (x = 0 to 7) l level output port p2 7 latch port p2 direction register bit 7 = 1 p2 7 output key-on wake up input interrupt request port p2 input read circuit ] p-channel transistor for pull-up ] ] cmos output buffer ] ] ] port p2 6 latch port p2 direction register bit 6 = 1 p2 6 output ] ] ] port p2 5 latch port p2 direction register bit 5 = 1 p2 5 output ] ] ] pullp2 register bit 4 port p2 4 latch port p2 direction register bit 4 = 1 p2 4 output ] ] ] pullp2 register bit 3 port p2 3 latch port p2 direction register bit 3 = 0 p2 3 input ] ] ] pullp2 register bit 2 port p2 2 latch port p2 direction register bit 2 = 0 p2 2 input ] ] ] pullp2 register bit 1 port p2 1 latch port p2 direction register bit 1 = 0 p2 1 input ] ] ] pullp2 register bit 0 port p2 0 latch port p2 direction register bit 0 = 0 p2 0 input ] ] ] pullp2 register bit 6 pullp2 register bit 7 pullp2 register bit 5
29 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers reset circuit to reset the microcomputer, reset pin should be held at l level for 2 m s or more. then reset pin is returned to h level (the power source voltage should be between 2.5 v and 5.5 v, and x in oscillation width is stable), reset is released. in order to give the x in clock time to stabilize, internal operation does not begin until after about 8000 x in clock cycles are complete. after the reset is completed, the program starts from the address contained in ad- dress fffd 16 (high-order) and address fffc 16 (low-order). make sure that the reset input voltage is less than 0.5 v for v cc of 3.0 v at f(x in ) = 8.0 mhz. fig. 26 example of reset circuit fig. 27 internal status of microcomputer after reset power source voltage 0v poweron 3.0v reset input voltage 0v 0.5v v cc reset v ss 7510 group f(x in ) = 8.0mhz 3 1 5 4 0.1 m f m51953al 10000000 0019 16 (13) serial i/o1 status register 00 16 0011 16 (12) port p5 pull-up control register 00 16 0010 16 (11) port p4 pull-up control register 00 16 000e 16 (9) port p2 pull-up control register 00 16 000d 16 (8) port p1 pull-up control register 00 16 000c 16 (7) port p0 pull-up control register 00 16 000b 16 (6) port p5 direction register 00 16 0009 16 (5) port p4 direction register 00 16 0007 16 (4) port p3 direction register 00 16 0005 16 (3) port p2 direction register 00 16 0003 16 (2) port p1 direction register 00 16 0001 16 (1) port p0 direction register 00 16 000f 16 (10) port p3 pull-up control register 00 16 001a 16 (14) serial i/o1 control register 11100000 001b 16 (15) uart1 control register ff 16 0020 16 (16) timer x (low) ff 16 0021 16 (17) timer x (high) ff 16 0022 16 (18) timer y (low) ff 16 0023 16 (19) timer y (high) ff 16 0024 16 (20) timer 1 01 16 0025 16 (21) timer 2 ff 16 0026 16 (22) timer 3 00 16 0027 16 (23) timer x mode register 00 16 0028 16 (24) timer y mode register 00 16 0029 16 (25) timer 123 mode register 10000000 0031 16 (26) serial i/o2 status register 00 16 0032 16 (27) serial i/o2 control register 11100000 0033 16 (28) uart2 control register 00 16 0037 16 (29) lcd contrast control register 00 16 0039 16 (30) lcd mode register 00 16 003a 16 (31) interrupt edge selection register 01001100 003b 16 (32) cpu mode register 00 16 003c 16 (33) interrupt request register 1 00 16 003d 16 (34) interrupt request register 2 00 16 003e 16 (35) interrupt control register 1 00 16 003f 16 (36) interrupt control register 2 55555 1 55 (ps) (37) processor status register contents of address fffd 16 (pc h ) (38) program counter contents of address fffc 16 (pc l ) the contents of all other registers and ram are undefined after reset, so they must be initialized by software. 5 : undefined note : register contents address
30 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers fig. 28 reset sequence about 8000 clock cycles reset internal reset f(x in ) and f( f ) are in the relationship : f(x in ) = 8.f( f ) a question mark (?) indicates an undefined status that depens on the previous status. notes 1 : 2 : ? ?? sync data address f x in reset address from vector table ? ? fffc fffd ad h , ad l ? ? ? ad l ad h
31 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers clock generating circuit the 7510 group has two built-in oscillation circuits. an oscillation circuit can be formed by connecting a resonator between x in and x out (x cin and x cout ). use the circuit constants in accordance with the resonator manufacturers recommended values. no exter- nal resistor is needed between x in and x out since a feed-back resistor exists on-chip. however, an external feed-back resistor is needed between x cin and x cout . immediately after power on, only the x in oscillation circuit starts oscillating, and x cin and x cout pins function as i/o port. the pull- up resistor of x cin and x cout pins must be made invalid to use the x cin oscillating circuit. frequency control middle-speed mode the internal clock f is the frequency of x in divided by 8. after reset, this mode is selected. high-speed mode the internal clock f is half the frequency of x in . low-speed mode the internal clock f is half the frequency of x cin . note: if you switch the mode between middle/high-speed and low-speed, both of x in and x cin oscillation must be stabilized. the sufficient time is required for the x cin oscillation to stabilize, especially imme- diately after power-on and at returning from stop mode. the mode must be switched on condition that f(x in ) > 3f(x cin ). low-power consumption mode in low-speed mode, a low-power consumption operation can be entered by stopping the main clock x in . to stop the main clock, set bit 5 of the cpu mode register to 1. when the main clock x in is restarted, the program must allow enough time for oscillation to stabilize. in low-power consumption mode, the x cin -x cout drive perfor- mance can be reduced, allowing lower power consumption (8 m a or less with x cin = 32 khz). to reduce the x cin -x cout drive per- formance, clear bit 3 of the cpu mode register to 0. at reset or when the stp instruction is executed, this bit is set to 1 and strong drive is selected to help the oscillation to start. oscillation control stop mode if the stp instruction is executed, the internal clock f stops at an h level. timer 1 is set to ff 16 and timer 2 is set to 01 16 . either x in or x cin divided by 16 is input to timer 1, and the output of timer 1 is connected to timer 2. the bits of the timer 123 mode register are cleared to 0 except for bit 4. the timer 1 and timer 2 interrupt enable bits must be set to dis- abled (0), so a program must set these bits before executing a stp instruction. oscillation restarts at reset or when an external interrupt is received, but the internal clock f is not supplied to the cpu until timer 2 underflows. this allows time for the clock circuit oscillation to stabilize. wait mode if the wit instruction is executed, the internal clock f stops at an h level. x in and x cin are the same state with that before the ex- ecution of the wit instruction. the internal clock restarts if a reset occurs or when an interrupt is received. since the oscillator does not stop, normal operation can be started immediately after the clock is restarted. fig. 29 ceramic resonator circuit fig. 30 external clock input circuit x cin x cout c cin c cout r d r f x in x out c in c out x cin x cout x in x out open open external oscillator or pulse external oscillator 2.5v v ss v cc v ss
32 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers stp instruction main clock stop bit middle/high-speed mode high-speed mode or low-speed mode main clock division ratio selection bit middle-speed mode timing f (internal clock) sq r wit instruction qs r stp instruction x in x out port x c selection bit internal system clock selection bit low-speed mode (note 1) timer 1 count source selection bit timer 2 count source selection bit ? ? ? ? timer 2 x cin x cout ? ? reset interrupt disable flag i interrupt request qs r 1/4 1/2 1/2 timer 1 1/32 note : when using the low-speed mode, set the port x c selection bit to ?? fig. 31 system clock generating circuit block diagram
33 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers fig. 32 state transitions of system clock low power consumption mode ( f =16khz) cm 7 = 1 (32khz selected) cm 6 = 0 (high-speed) cm 5 = 1 (x in stopped) cm 4 = 1 (32khz oscillating) cm 6 ?? ? cm 4 ?? ? cm 6 ?? ? switch the mode by the allows shown between the mode blocks. (do not switch between the mode directly without an allow.) the main clock must be oscillated (cm 5 : 1 ? 0) before the switching from the low-speed mode to middle/high-speed mode (cm 7 : 1 ? 0). the all modes can be switched to the stop mode or the wait mode and return to the source mode when the stop mode or the wait mo de is ended. timer and lcd operate in the wait mode. when the stop mode is ended, a delay of approximately 2ms is automatically generated by timer 1 and timer 2 in middle/high-spee d mode. when the stop mode is ended, a delay of approximately 0.25s is automatically generated by timer 1 and timer 2 in low-speed mode . the example assumes that 8.0mhz is being applied to the x in pin and 32khz to the x cin pin f indicates the internal clock. b7 cpu mode register (cpum : address 003b 16 ) cm 4 : port x c selection bit 0 : i/o port 1 : x cin , x cout cm 5 : main clock (x in -x out ) stop bit 0 : operating 1 : stopped cm 6 : main clock division ratio selection bit 0 : x in /2 (high-speed mode) 1 : x in /8 (middle-speed mode) cm 7 : internal system clock selection bit 0 : x in -x out selected (middle/high-speed mode) 1 : x cin -x cout selected (low-speed mode) b0 notes 1 : 2 : 3 : 4 : 5 : 6 : reset cm 4 ?? ? cm 4 ?? ? cm 6 ?? ? cm 4 ?? ? cm 7 ?? ? cm 6 ?? ? cm 7 ?? ? cm 6 ?? ? cm 5 ?? ? cm 6 ?? ? cm 5 ?? ? cm 5 ?? ? cm 6 ?? ? cm 5 ?? ? high-speed mode ( f = 4.0mhz) cm 7 = 0 (8.0mhz selected) cm 6 = 0 (high-speed) cm 5 = 0 (x in oscillating) cm 4 = 1 (32khz oscillating) cm 6 ?? ? middle-speed mode ( f =1mhz) cm 7 = 0 (8.0mhz selected) cm 6 = 1 (middle-speed) cm 5 = 0 (x in oscillating) cm 4 = 1 (32khz oscillating) middle-speed mode ( f =1mhz) cm 7 = 0 (8.0mhz selected) cm 6 = 1 (middle-speed) cm 5 = 0 (x in oscillating) cm 4 = 0 (32khz stopped) high-speed mode ( f = 4.0mhz) cm 7 = 0 (8.0mhz selected) cm 6 = 0 (high-speed) cm 5 = 0 (x in oscillating) cm 4 = 0 (32khz stopped) low-speed mode ( f =16khz) cm 7 = 1 (32khz selected) cm 6 = 1 (middle-speed) cm 5 = 0 (x in oscillating) cm 4 = 1 (32khz oscillating) low-speed mode ( f = 16khz) cm 7 = 1 (32khz selected) cm 6 = 0 (high-speed) cm 5 = 0 (x in oscillating) cm 4 = 1 (32khz oscillating) low power consumption mode ( f =16khz) cm 7 = 1 (32khz selected) cm 6 = 1 (middle-speed) cm 5 = 1 (x in stopped) cm 4 = 1 (32khz oscillating)
34 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers notes on programming processor status register the contents of the processor status register (ps) after a reset are undefined, except for the interrupt disable flag (i) which is 1. af- ter a reset, initialize flags which affect program execution. in particular, it is essential to initialize the index x mode (t) and the decimal operation mode (d) flag because of their effect on calcu- lations. interrupts the contents of the interrupt request bits do not change immedi- ately after they have been written. after writing to an interrupt request register, execute at least one instruction before performing a bbc or bbs instruction. decimal calculations to calculate in decimal notation, set the decimal operation mode flag (d) to 1, then execute the adc or the sbc instruction. only the adc and the sbc instruction yield proper decimal results. af- ter executing the adc or sbc instruction, execute at least one instruction before executing the sec, the clc, or the cld instruc- tion. in decimal mode, the values of the negative (n), overflow (v), and zero (z) flag are invalid. the carry flag can be used to indicate whether a carry or borrow has occurred. initialize the carry flag before each calculation. clear the carry flag before the adc instruction and set the flag before the sbc in- struction. timers if a value n (between 0 and 255) is written to a timer latch, the fre- quency division ratio is 1/(n+1). multiplication and division instructions the index x mode (t) and the decimal mode (d) flag do not affect the mul and div instruction. the execution of these instructions does not change the contents of the processor status register. ports the contents of the port direction registers cannot be read. the following cannot be used: l the data transfer instruction (lda, etc.) l the operation instruction when the index x mode flag (t) is 1 l the addressing mode which uses the value of a direction register as an index l the bit-test instruction (bbc or bbs, etc.) to a direction register l the read-modify-write instruction (ror, clb, or seb, etc.) to a direction register use instructions such as ldm and sta, etc., to set the port direc- tion registers. serial i/o in clock synchronous serial i/o, if the receive side is using an ex- ternal clock and it is to output the s rdy signal, set the transmit enable bit, the receive enable bit, and the s rdy output enable bit to 1. serial i/o continues to output the final bit from the t x d pin after transmission is completed. instruction execution time the instruction execution time is obtained by multiplying the fre- quency of the internal clock f by the number of cycles needed to execute an instruction. the number of cycles required to execute an instruction is shown in the list of machine instructions. in high-speed mode, the frequency of the internal clock f is half of the x in frequency. in middle-speed mode, the frequency of the internal clock f is one eighth the x in frequency. data required for mask orders the following are necessary when ordering a mask rom produc- tion: 1. mask rom order confirmation form 2. mark specification form 3. data to be written to rom, in eprom form (three identical copies)
35 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers prom programming method the built-in prom of the blank one time prom version and built- in eprom version can be read or programmed with a general-purpose prom programmer using a special programming adapter. set the address of prom programmer in the user rom area. the prom of the blank one time prom version is not tested or screened in the assembly process and following processes. to en- sure proper operation after programming, the procedure shown in figure 33 is recommended to verify programming. package 176p6d-a name of programming adapter pca4738f-176a fig. 33 programming and testing of one time prom version programming with prom programmer the screening temperature is far higher than the storage temperature. never expose to 150 c exceeding 100 hours. caution : screening (caution) (150 c for 40 hours) verification with prom programmer functional check in target device
36 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers absolute maximum ratings symbol v cc v i v i v i v i v o v o v o p d t opr t stg parameter power source voltage input voltage p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 input voltage p4 0 input voltage v lcd input voltage reset, x in , x cin output voltage p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 , x out output voltage seg 0 Cseg 79 , com 0 Ccom 15 output voltage x cout power dissipation operating temperature storage temperature conditions retings C0.3 to 7.0 C0.3 to v cc +0.3 C0.3 to 13 C0.3 to v cc +0.3 C0.3 to v cc +0.3 C0.3 to v cc +0.3 C0.3 to v lcd C0.3 to v cc 300 C20 to 85 C40 to 125 unit v v v v v v v v mw c c all voltage are based on v ss . output transistors are cut off. t a = 25 c recommended operating conditions (v cc = 4.0 to 5.5 v, t a = C20 to 85 c, unless otherwise noted) symbol v cc v lcd v ss v ih v ih v ih v il v il v il s i oh(peak) s i ol(peak) s i oh(avg) s i ol(avg) i oh(peak) i ol(peak) i oh(avg) i ol(avg) f(cntr 0 ) f(cntr 1 ) f(x in ) f(x cin ) parameter power source voltage power source voltage for lcd driver power source voltage h input voltage p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 Cp4 7 , p5 0 , p5 1 h input voltage reset, x in h input voltage x cin l input voltage p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 0 Cp4 7 , p5 0 , p5 1 l input voltage reset, x in l input voltage x cin h total peak output current (note 1) p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 l total peak output current p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 h total average output current p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 l total average output current p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 h peak output current (note 2) p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 l peak output current p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 h average output current (note 3) p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 l average output current p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 timer x, timer y input frequency (at 50% duty) main clock input oscillation frequency (note 4) sub-clock input oscillation frequency (note 4, 5) high-speed mode f( f ) 3 2.5 mhz middle-speed mode 1.0 mhz f( f ) < 2.5 mhz low-speed mode f( f ) 650 khz limits min. 4.0 3.0 2.5 0.8v cc 0.8v cc 0 0 0 typ. 5.0 5.0 5.0 0 32.768 max. 5.5 5.5 5.5 v cc v cc v cc 2.5 0.2v cc 0.2v cc 0.4 C80 80 C40 40 C10 10 C5 5 2.6 8.0 50 unit v v v v v v v v v v v ma ma ma ma ma ma ma ma mhz mhz khz notes 1: the total output current is the sum of all the currents flowing through all the applicable ports. the total average current is an average value mea- sured over 100 ms. the total peak current is the peak value of all the currents. 2: the peak output current is the peak current flowing in each port. 3: the average output current is an average value measured over 100 ms. 4: the oscillating frequency has a 50% duty cycle. 5: in low-speed mode, the sub-clock input oscillation frequency must be used on condition that f(x cin ) < f(x in )/3.
37 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers parameter h output voltage p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 l output voltage p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 hysteresis int 0 , int 1 , cntr 0 , cntr 1 hysteresis s clk1 , s clk2 , r x d 1 , r x d 2 hysteresis reset h input current p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 h input current reset, p4 0 h input current x in h input current x cin l input current p0 0 Cp0 7 , p1 0 Cp1 7 , p2 0 Cp2 7 , p3 0 Cp3 7 , p4 1 Cp4 7 , p5 0 , p5 1 l input current reset, p4 0 l input current x in l input current x cin ram hold voltage lcd bias resistance (note) com on-resistance with v l5 output from com com on-resistance with v l4 output from com com on-resistance with v l1 output from com com on-resistance with v l0 output from com seg on-resistance with v l5 output from seg seg on-resistance with v l3 output from seg seg on-resistance with v l2 output from seg seg on-resistance with v l0 output from seg power source current electrical characteristics (v cc = 4.0 to 5.5 v, t a = C20 to 85 c, unless otherwise noted) symbol v oh v ol v t+ Cv tC v t+ Cv tC v t+ Cv tC i ih i ih i ih i ih i il i il i il i il v ram r bias r com5 r com4 r com1 r com0 r seg5 r seg3 r seg2 r seg0 i cc test conditions i oh = C10 ma i ol = 10 ma v i = v cc v i = v cc v i = 2.5 v v i = 0 v pull-ups off v cc = 5 v, v i = 0 v pull-ups on v cc = 3 v, v i = 0 v pull-ups on v i = v ss v i = v ss v i = v ss with clock stopped i o = C0.1 ma i o = 0.1 ma i o = 0.1 ma i o = 0.1 ma i o = C0.1 ma i o = 0.1 ma i o = 0.1 ma i o = 0.1 ma in high-speed mode, v cc = 5 v output transistors are isolated. in low-speed mode, v cc = 3 v f(x in ) = stopped f(x cin ) = 32 khz low-power consumption mode output transistors are isolated. in low-speed mode, v cc = 3 v f(x in ) = stopped f(x cin ) = 32 khz (in wait mode) low-power consumption mode output transistors are isolated. all oscillation are stopped. (in stop mode) output transistors are isolated. f(x in ) = 8.0 mhz f(x in ) = 5.0 mhz t a = 25 c t a = 85 c limits min. v cc C2.0 C30 C6 2.0 typ. 0.4 0.5 0.5 4.0 2.0 C70 C25 C4.0 C2.0 3 6.4 4.0 20 4.5 0.1 max. 2.0 5.0 5.0 C5.0 C140 C45 C5.0 5.5 0.5 4.5 4.5 0.5 0.5 6.5 6.5 0.5 13 8.0 9.0 1.0 10 unit v v v v v m a m a m a m a m a m a m a m a m a m a v k w k w k w k w k w k w k w k w k w ma ma m a m a m a m a note: this is the value of bias resistance for one stage.
38 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers lcd contrast controller characteristics (v cc = 4.0 to 5.5 v, t a = C20 to 85 c, unless otherwise noted) symbol C C C v cch parameter resolution accuracy iinearity maximum output voltage (note) test conditions v cc = 5.0 v, v lcd = v cc limits min. 4.9 typ. max. 5 2.0 0.5 v lcd unit bits % lsb v note: when the value in the lcd contrast control register (address 0037 16 ) is 9f 16 .
39 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers symbol t w(reset) t c(x in ) t wh(x in ) t wl(x in ) t c(cntr) t wh(cntr) t wh(int) t wl(cntr) t wl(int) t c(s clk1 ) t c(s clk2 ) t wh(s clk1 ) t wh(s clk2 ) t wl(s clk1 ) t wl(s clk2 ) t su(r x d 1 Cs clk1 ) t su(r x d 2 Cs clk2 ) t h(s clk1 Cr x d 1 ) t h(s clk2 Cr x d 2 ) timing requirements 1 (v cc = 4.0 to 5.5 v, v ss = 0 v, t a = C20 to 85 c, unless otherwise noted) parameter reset input l pulse width external clock input cycle time external clock input h pulse width external clock input l pulse width cntr 0 , cntr 1 input cycle time cntr 0 , cntr 1 input h pulse width int 0 , int 1 input h pulse width cntr 0 , cntr 1 input l pulse width int 0 , int 1 input l pulse width serial i/o1 clock input cycle time (note) serial i/o2 clock input cycle time (note) serial i/o1 clock input h pulse width (note) serial i/o2 clock input h pulse width (note) serial i/o1 clock input l pulse width (note) serial i/o2 clock input l pulse width (note) serial i/o1 input set up time serial i/o2 input set up time serial i/o1 input hold time serial i/o2 input hold time limits min. 2 125 50 50 200 80 80 80 80 800 800 370 370 370 370 220 220 100 100 typ. max. unit m s ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns note: when f( f ) = 4 mhz and bit 6 of address 001a 16 or 0032 16 is 1 (clock synchronous). divide this value by four when f( f ) = 4 mhz and bit 6 of address 001a 16 or 0032 16 is 0 (clock asynchronous). symbol t w(reset) t c(x in ) t wh(x in ) t wl(x in ) t c(cntr) t wh(cntr) t wh(int) t wl(cntr) t wl(int) t c(s clk1 ) t c(s clk2 ) t wh(s clk1 ) t wh(s clk2 ) t wl(s clk1 ) t wl(s clk2 ) t su(r x d 1 Cs clk1 ) t su(r x d 2 Cs clk2 ) t h(s clk1 Cr x d 1 ) t h(s clk2 Cr x d 2 ) timing requirements 2 (v cc = 3.0 to 5.5 v, v ss = 0 v, t a = C20 to 85 c, unless otherwise noted) parameter reset input l pulse width external clock input cycle time external clock input h pulse width external clock input l pulse width cntr 0 , cntr 1 input cycle time cntr 0 , cntr 1 input h pulse width int 0 , int 1 input h pulse width cntr 0 , cntr 1 input l pulse width int 0 , int 1 input l pulse width serial i/o1 clock input cycle time (note) serial i/o2 clock input cycle time (note) serial i/o1 clock input h pulse width (note) serial i/o2 clock input h pulse width (note) serial i/o1 clock input l pulse width (note) serial i/o2 clock input l pulse width (note) serial i/o1 input set up time serial i/o2 input set up time serial i/o1 input hold time serial i/o2 input hold time limits min. 2 500 200 200 500 230 230 230 230 2000 2000 950 950 950 950 400 400 200 200 typ. max. unit m s ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns note: when f( f ) = 1 mhz and bit 6 of address 001a 16 or 0032 16 is 1 (clock synchronous). divide this value by four when f( f ) = 1 mhz and bit 6 of address 001a 16 or 0032 16 is 0 (clock asynchronous).
40 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers switching characteristics 1 (v cc = 4.0 to 5.5 v, v ss = 0 v, t a = C20 to 85 c, unless otherwise noted) symbol t wh(s clk1 ) t wh(s clk2 ) t wl(s clk1 ) t wl(s clk2 ) t d(s clk1 Ct x d 1 ) t d(s clk2 Ct x d 2 ) t v(s clk1 Ct x d 1 ) t v(s clk2 Ct x d 2 ) t r(s clk1 ) t f(s clk1 ) t r(s clk2 ) t f(s clk2 ) t r (cmos) t f (cmos) parameter serial i/o1 clock output h pulse width serial i/o2 clock output h pulse width serial i/o1 clock output l pulse width serial i/o2 clock output l pulse width serial i/o1 output delay time (note 1) serial i/o2 output delay time (note 1) serial i/o1 output valid time (note 1) serial i/o2 output valid time (note 1) serial i/o1 clock output rise time serial i/o1 clock output fall time serial i/o2 clock output rise time serial i/o2 clock output fall time cmos output rise time (note 2) cmos output fall time (note 2) test conditions c l = 100 pf limits min. t c(s clk1 ) /2C30 t c(s clk2 ) /2C30 t c(s clk1 ) /2C30 t c(s clk2 ) /2C30 C30 C30 typ. 10 10 max. 140 140 30 30 30 30 30 30 unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns notes 1: when bit 4 of the uart control register (address 001b 16 or 0033 16 ) is 0. 2: x out pin is excluded. fig. 34 circuit for measuring output switching characteristics (1) fig. 35 circuit for measuring output switching characterist ics (2) note: when bit 4 of the uart contronl register (address 001b 16 or 0033 16 ) is 1 (n-channel open-drain output), and bit 7 of the serial i/o con- trol register (address 001a 16 or 0032 16 ) is 1. switching characteristics 2 (v cc = 3.0 to 5.5 v, v ss = 0 v, t a = C20 to 85 c, unless otherwise noted) symbol t wh(s clk1 ) t wh(s clk2 ) t wl(s clk1 ) t wl(s clk2 ) t d(s clk1 Ct x d 1 ) t d(s clk2 Ct x d 2 ) t v(s clk1 Ct x d 1 ) t v(s clk2 Ct x d 2 ) t r(s clk1 ) t f(s clk1 ) t r(s clk2 ) t f(s clk2 ) t r (cmos) t f (cmos) parameter serial i/o1 clock output h pulse width serial i/o2 clock output h pulse width serial i/o1 clock output l pulse width serial i/o2 clock output l pulse width serial i/o1 output delay time (note 1) serial i/o2 output delay time (note 1) serial i/o1 output valid time (note 1) serial i/o2 output valid time (note 1) serial i/o1 clock output rise time serial i/o1 clock output fall time serial i/o2 clock output rise time serial i/o2 clock output fall time cmos output rise time (note 2) cmos output fall time (note 2) test conditions c l = 100 pf limits min. t c(s clk1 ) /2C50 t c(s clk2 ) /2C50 t c(s clk1 ) /2C50 t c(s clk2 ) /2C50 C30 C30 typ. 20 20 max. 350 350 50 50 50 50 50 50 unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns notes 1: when bit 4 of the uart control register (address 001b 16 or 0033 16 ) is 0. 2: x out pin excluded. 100pf cmos output measurement output pin 100pf n-channel open-drain output measurement output pin 1k w
41 7510 group single-chip 8-bit cmos microcomputer mitsubishi microcomputers timing diagram t c(x in ) t wl(x in ) t wh(x in ) t w(reset) t wl(int) t wh(int) t wl(cntr) t wh(cntr) t c(cntr) t c(s clk1 ) , t c(s clk2 ) 0.8v cc cntr 0 , cntr 1 0.2v cc 0.2v cc 0.8v cc 0.8v cc int 0 , int 1 0.2v cc reset 0.8v cc x in 0.2v cc 0.2v cc s clk1 0.8v cc s clk2 t su(r x d 1 s clk1 ) t su(r x d 2 s clk2 ) t d(s clk1 t x d 1 ) , t d(s clk2 t x d 2 ) t v(s clk1 t x d 1 ) , t v(s clk2 t x d 2 ) t h(s clk1 r x d 1 ) , t h(s clk 2 r x d 2 ) t f t wl(s clk1 ) , t wl(s clk2 ) t wh(s clk1 ) , t wh(s clk2 ) r x d 1 r x d 2 t x d 1 t x d 2 t r 0.8v cc 0.2v cc
rev. rev. no. date 1.0 first edition 980110 revision description list 7510 group data sheet (1/1) revision description
? 1998 mitsubishi electric corp. new publication, effective jan. 1998. specifications subject to change without notice. notes regarding these materials ? these materials are intended as a reference to assist our customers in the selection of the mitsubishi semiconductor product b est suited to the customers application; they do not convey any license under any intellectual property rights, or any other rights, belonging to mitsubishi electric corporation or a third party. ? mitsubishi electric corporation assumes no responsibility for any damage, or infringement of any third-partys rights, origina ting in the use of any product data, diagrams, charts or circuit application examples contained in these materials. ? all information contained in these materials, including product data, diagrams and charts, represent information on products a t the time of publication of these materials, and are subject to change by mitsubishi electric corporation without notice due to product improvements or other reasons. it is therefore recommended that customers co ntact mitsubishi electric corporation or an authorized mitsubishi semiconductor product distributor for the latest product information before purchasing a product listed herein. ? mitsubishi electric corporation semiconductors are not designed or manufactured for use in a device or system that is used und er circumstances in which human life is potentially at stake. please contact mitsubishi electric corporation or an authorized mitsubishi semiconductor product distributor when considering the use of a pro duct contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. ? the prior written approval of mitsubishi electric corporation is necessary to reprint or reproduce in whole or in part these m aterials. ? if these products or technologies are subject to the japanese export control restrictions, they must be exported under a licen se from the japanese government and cannot be imported into a country other than the approved destination. any diversion or reexport contrary to the export control laws and regulations of japan and/or the country of destination is pro hibited. ? please contact mitsubishi electric corporation or an authorized mitsubishi semiconductor product distributor for further detai ls on these materials or the products contained therein. keep safety first in your circuit designs! ? mitsubishi electric corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. trouble with semiconductors may lead to personal injury, fire or property damage. remember to give due consideration to safety when making y our circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non-flammable material or (iii) prevention against any malfunction or mishap. mitsubishi microcomputers 7510 group single-chip 8-bit cmos microcomputer


▲Up To Search▲   

 
Price & Availability of M37510M5156FP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X